package com.molichuxing.services.infrastructure.dto.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @Author: renzhengyu
 * @Description:
 * @Date: Created in 10:18 2019/8/19
 * @Modified By:
 **/
@Data
public class OrderScheduleRelationDto extends ResponseRootDto {
    private static final long serialVersionUID = -337501631195757864L;

    private Integer id;

    /**
     * 订单号
     */
    private Long orderCode;

    /**
     * 排期期数
     */
    private Integer periods;

    /**
     * 总还款期数
     */
    private Integer totalPeriods;

    /**
     * 应付款金额（如果排期期数为1则包含保证金，否则不含保证金）
     */
    private BigDecimal payable;


    /**
     * 应付款日期
     */
    private LocalDate payableDate;
}
